const state = {
    messages: null, // 留言信息
};

const mutations = {
    upMsg(state, messages) {
        state.messages = messages;
    }
};

export default {
    namespaced: true, // 启用命名空间
    state,
    mutations,
};
